Skip to content

Conversation

@ReneOv-MSFT
Copy link
Member

@ReneOv-MSFT ReneOv-MSFT commented Jan 5, 2026

Description

  • Update models and readmes to API version 20250601
  • Tests for pool PUT and REPLACE
  • Add to CREATE test with disk encryption sets
  • Removes Certificates
  • Removes NodeCommunicationMode
  • Removes ResourceTags

If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@github-actions github-actions bot added the Batch label Jan 5, 2026
@ReneOv-MSFT ReneOv-MSFT marked this pull request as ready for review January 12, 2026 19:36
@ReneOv-MSFT ReneOv-MSFT force-pushed the renojeda/api/2025-06-01 branch from fe351bf to ec2ca16 Compare January 12, 2026 19:36
Copilot AI review requested due to automatic review settings January 12, 2026 19:36
@ReneOv-MSFT ReneOv-MSFT requested review from a team and dpwatrous as code owners January 12, 2026 19:36
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request updates the Azure Batch SDK for Java to API version 2025-06-01, introducing new features and removing deprecated functionality.

Changes:

  • API version updated from 2024-07-01.20.0 to 2025-06-01
  • Removed deprecated features: Certificate APIs, NodeCommunicationMode, and ResourceTags
  • Added new models for disk encryption, proxy agent settings, IP configuration (IPv6 support), and job scheduling
  • Refactored test cleanup logic from finally blocks to sequential execution
  • Added tests for pool PUT and REPLACE operations with disk encryption sets

Reviewed changes

Copilot reviewed 57 out of 61 changed files in this pull request and generated no comments.

Show a summary per file
File Description
TaskTests.java Refactored test cleanup from try-catch-finally to sequential execution
SharedKeyTests.java Removed NodeCommunicationMode references and Certificate handling from pool tests
PoolTests.java Removed try-catch-finally wrappers, added pool replace/update tests, removed NodeCommunicationMode
JobTests.java Refactored cleanup logic, removed NodeCommunicationMode from job specifications
JobScheduleTests.java Simplified test structure by removing try-catch-finally blocks
FileTests.java Refactored cleanup logic to sequential execution
ReadmeSamples.java Removed all Certificate API examples
UpgradeMode.java Fixed typo in documentation ("TAll" → "All")
SecurityProfile.java Added proxyAgentSettings field with getters/setters
SecurityEncryptionTypes.java Improved documentation and added DISK_WITH_VMGUEST_STATE constant
ManagedDisk.java Added diskEncryptionSet field for customer-managed encryption
DataDisk.java Added managedDisk field for managed disk parameters
BatchTaskSchedulingPolicy.java Changed from @immutable to @fluent, added jobDefaultOrder field
BatchPublicIpAddressConfiguration.java Added ipFamilies and ipTags for IPv6 and IP tagging support
BatchPoolUpdateParameters.java Removed certificateReferences, targetNodeCommunicationMode, and resourceTags
BatchPoolSpecification.java Removed certificateReferences, targetNodeCommunicationMode, and resourceTags
BatchPoolReplaceParameters.java Removed certificateReferences and targetNodeCommunicationMode parameters
BatchJobNetworkConfiguration.java Updated documentation to note feature requires support contact
New model files Added ProxyAgentSettings, DiskCustomerManagedKey, DiskEncryptionSetParameters, BatchPoolIdentityReference, IPTag, IPFamily, HostEndpointSettings, HostEndpointSettingsModeTypes, BatchJobDefaultOrder
Deleted file BatchNodeCommunicationMode.java removed
Metadata files Updated API version and cross-language definitions

@github-actions
Copy link
Contributor

API Change Check

APIView identified API level changes in this PR and created the following API reviews

com.azure:azure-compute-batch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants